import Vue from 'vue'
import Router from 'vue-router'
import Main from '../views/Main.vue'
import Activity from '../views/draw/Activity.vue'
Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      name: 'Main',
      component: Main,
      children:[
        {
          path: '/activity',
          name: 'Activity',
          component: Activity
        }
      ]
    }
  ]
})
